Accept baselines.

This commit is contained in:
Daniel Rosenwasser
2026-01-22 01:21:35 +00:00
parent 5ccedf8578
commit b37c1dd639
3 changed files with 29 additions and 33 deletions

View File

@@ -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,

View File

@@ -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": [],

View File

@@ -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": [],