export * from '../2.9/node' ; import * as ts from 'typescript' ; export function isOptionalTypeNode ( node ) { return node . kind === ts . SyntaxKind . OptionalType ; } export function isRestTypeNode ( node ) { return node . kind === ts . SyntaxKind . RestType ; } export function isSyntheticExpression ( node ) { return node . kind === ts . SyntaxKind . SyntheticExpression ; }