-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
Domain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptWorking as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
Some functions exported by typescript are missing from the type definition file (typescript.d.ts).
For example, the function isAssignmentExpression is missing.
(The function exists in lib/typescript.js, but not in lib/typescript.d.ts)
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms:
Missing Type Information
isAssignmentExpression
typescript.d.ts
Code
import * as ts from "typescript";
function test(node: ts.Node): boolean {
return ts.isAssignmentExpression(node);
}Expected behavior:
The definitions for isAssignmentExpression (and the other missing functions) are included in typescript.d.ts
Actual behavior:
The definitions for isAssignmentExpression (and the other missing functions) are not included in typescript.d.ts
jonaskello
Metadata
Metadata
Assignees
Labels
Domain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptWorking as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug