massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver / lib / common / utils / is.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-json/node_modules/vscode-languageserver/lib/common/utils/is.d.ts b/.config/coc/extensions/node_modules/coc-json/node_modules/vscode-languageserver/lib/common/utils/is.d.ts
new file mode 100644 (file)
index 0000000..8c3812f
--- /dev/null
@@ -0,0 +1,9 @@
+export declare function boolean(value: any): value is boolean;
+export declare function string(value: any): value is string;
+export declare function number(value: any): value is number;
+export declare function error(value: any): value is Error;
+export declare function func(value: any): value is Function;
+export declare function array<T>(value: any): value is T[];
+export declare function stringArray(value: any): value is string[];
+export declare function typedArray<T>(value: any, check: (value: any) => boolean): value is T[];
+export declare function thenable<T>(value: any): value is Thenable<T>;