Skip to content

Commit df9212b

Browse files
committed
add type annotation
1 parent f59b784 commit df9212b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main/atom/atomUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function getEditorPositionForBufferPosition(editor: AtomCore.IEditor, buf
1919
return buffer.characterIndexForPosition(bufferPos);
2020
}
2121

22-
export function isAllowedExtension(ext) {
22+
export function isAllowedExtension(ext: string) {
2323
return (ext == '.ts' || ext == '.tst' || ext == '.tsx');
2424
}
2525

0 commit comments

Comments
 (0)