mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
cleanup, fixes
workstream:
This commit is contained in:
Vendored
+11
@@ -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;
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -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";
|
||||
|
||||
|
||||
Vendored
+1
@@ -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.
|
||||
|
||||
@@ -23,7 +23,7 @@ server.request({
|
||||
});
|
||||
|
||||
declare module "tern/lib/tern" {
|
||||
interface QueryMap {
|
||||
interface QueryRegistry {
|
||||
someUnknownType: {
|
||||
query: {
|
||||
type: "someUnknownType"
|
||||
|
||||
Reference in New Issue
Block a user