From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/tslint/lib/language/utils.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'node_modules/tslint/lib/language/utils.d.ts') diff --git a/node_modules/tslint/lib/language/utils.d.ts b/node_modules/tslint/lib/language/utils.d.ts index a8ccc2be1..dc8cfc444 100644 --- a/node_modules/tslint/lib/language/utils.d.ts +++ b/node_modules/tslint/lib/language/utils.d.ts @@ -58,6 +58,10 @@ export declare function unwrapParentheses(node: ts.Expression): ts.Expression; export declare function isScopeBoundary(node: ts.Node): boolean; export declare function isBlockScopeBoundary(node: ts.Node): boolean; export declare function isLoop(node: ts.Node): node is ts.IterationStatement; +/** + * @returns Whether node is a numeric expression. + */ +export declare function isNumeric(node: ts.Expression): boolean; export interface TokenPosition { /** The start of the token including all trivia before it */ fullStart: number; @@ -95,3 +99,9 @@ export interface EqualsKind { isStrict: boolean; } export declare function getEqualsKind(node: ts.BinaryOperatorToken): EqualsKind | undefined; +export declare function isStrictNullChecksEnabled(options: ts.CompilerOptions): boolean; +export declare function isNegativeNumberLiteral(node: ts.Node): node is ts.PrefixUnaryExpression & { + operand: ts.NumericLiteral; +}; +/** Wrapper for compatibility with typescript@<2.3.1 */ +export declare function isWhiteSpace(ch: number): boolean; -- cgit v1.2.3