Skip to content

Commit 0963644

Browse files
committed
Add type annotations
1 parent 54f3250 commit 0963644

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ module ts.server {
3535

3636
getCurrentDirectory: () => host.getCurrentDirectory(),
3737
readDirectory: (path: string, extension?: string) => [],
38-
getModififedTime: (fileName) => new Date(),
39-
stat: (path, callback) => { throw new Error("Not implemented Yet."); },
38+
getModififedTime: (fileName: string) => new Date(),
39+
stat: (path: string, callback?: (err: any, stats: any) => any) => { throw new Error("Not implemented Yet."); },
4040
}, {
4141
close: () => { },
4242
info: (m) => this.host.log(m),

0 commit comments

Comments
 (0)