cleanup, fixes

workstream:
This commit is contained in:
Nikolaj Kappler
2018-10-29 11:11:03 +01:00
parent 961d7e1dcf
commit 2539f72c36
4 changed files with 14 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
// Type definitions for tern
// Project: https://github.com/ternjs/tern
// Definitions by: Nikolaj Kappler <https://github.com/nkappler>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "tern" {
import * as infer from "tern/lib/infer";
import * as tern from "tern/lib/tern";
const t: typeof tern & typeof infer;
export = t;
}
+1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/ternjs/tern
// Definitions by: Nikolaj Kappler <https://github.com/nkappler>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as ESTree from "estree";
+1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/ternjs/tern
// Definitions by: Nikolaj Kappler <https://github.com/nkappler>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// IMPORTANT Note: These type definitions are oriented closely to the official documentation,
// which does not seem to match the implementation exactly in some places.
+1 -1
View File
@@ -23,7 +23,7 @@ server.request({
});
declare module "tern/lib/tern" {
interface QueryMap {
interface QueryRegistry {
someUnknownType: {
query: {
type: "someUnknownType"