mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-12 23:36:28 -05:00
Accept baselines.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
// pathFilter('foo', 'bar', 'baz', {});
|
||||
// ^
|
||||
// | ----------------------------------------------------------------------
|
||||
// | pathFilter(**basePath: string**, pattern: string, type: string, options: any): any[]
|
||||
// | pathFilter(**basePath: string**, pattern: string, type: string, options: Object): any[]
|
||||
// | Filters a path based on a regexp or glob pattern.
|
||||
// | @param basePath The base path where the search will be performed.
|
||||
// | @param pattern A string defining a regexp of a glob pattern.
|
||||
@@ -190,8 +190,8 @@
|
||||
"kind": "space"
|
||||
},
|
||||
{
|
||||
"text": "any",
|
||||
"kind": "keyword"
|
||||
"text": "Object",
|
||||
"kind": "localName"
|
||||
}
|
||||
],
|
||||
"isOptional": false,
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
// var Obj;
|
||||
// ^^^
|
||||
// | ----------------------------------------------------------------------
|
||||
// | var Obj: any
|
||||
// | var Obj: Object
|
||||
// | @type {Object}
|
||||
// | ----------------------------------------------------------------------
|
||||
// /** @type {Function} */
|
||||
@@ -572,8 +572,8 @@
|
||||
"kind": "space"
|
||||
},
|
||||
{
|
||||
"text": "any",
|
||||
"kind": "keyword"
|
||||
"text": "Object",
|
||||
"kind": "localName"
|
||||
}
|
||||
],
|
||||
"documentation": [],
|
||||
|
||||
@@ -46,21 +46,21 @@
|
||||
// var a;
|
||||
// ^
|
||||
// | ----------------------------------------------------------------------
|
||||
// | var a: any[]
|
||||
// | var a: array
|
||||
// | @type {array}
|
||||
// | ----------------------------------------------------------------------
|
||||
// /** @type {promise} */
|
||||
// var p;
|
||||
// ^
|
||||
// | ----------------------------------------------------------------------
|
||||
// | var p: Promise<any>
|
||||
// | var p: promise
|
||||
// | @type {promise}
|
||||
// | ----------------------------------------------------------------------
|
||||
// /** @type {?number} */
|
||||
// var nullable;
|
||||
// ^^^^^^^^
|
||||
// | ----------------------------------------------------------------------
|
||||
// | var nullable: number
|
||||
// | var nullable: number | null
|
||||
// | @type {?number}
|
||||
// | ----------------------------------------------------------------------
|
||||
// /** @type {function} */
|
||||
@@ -439,16 +439,8 @@
|
||||
"kind": "space"
|
||||
},
|
||||
{
|
||||
"text": "any",
|
||||
"kind": "keyword"
|
||||
},
|
||||
{
|
||||
"text": "[",
|
||||
"kind": "punctuation"
|
||||
},
|
||||
{
|
||||
"text": "]",
|
||||
"kind": "punctuation"
|
||||
"text": "array",
|
||||
"kind": "text"
|
||||
}
|
||||
],
|
||||
"documentation": [],
|
||||
@@ -500,20 +492,8 @@
|
||||
"kind": "space"
|
||||
},
|
||||
{
|
||||
"text": "Promise",
|
||||
"kind": "interfaceName"
|
||||
},
|
||||
{
|
||||
"text": "<",
|
||||
"kind": "punctuation"
|
||||
},
|
||||
{
|
||||
"text": "any",
|
||||
"kind": "keyword"
|
||||
},
|
||||
{
|
||||
"text": ">",
|
||||
"kind": "punctuation"
|
||||
"text": "promise",
|
||||
"kind": "text"
|
||||
}
|
||||
],
|
||||
"documentation": [],
|
||||
@@ -567,6 +547,22 @@
|
||||
{
|
||||
"text": "number",
|
||||
"kind": "keyword"
|
||||
},
|
||||
{
|
||||
"text": " ",
|
||||
"kind": "space"
|
||||
},
|
||||
{
|
||||
"text": "|",
|
||||
"kind": "punctuation"
|
||||
},
|
||||
{
|
||||
"text": " ",
|
||||
"kind": "space"
|
||||
},
|
||||
{
|
||||
"text": "null",
|
||||
"kind": "keyword"
|
||||
}
|
||||
],
|
||||
"documentation": [],
|
||||
|
||||
Reference in New Issue
Block a user