/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { Node } from "ts-morph"; export interface TypeData { /** * Includes namespace prefix if needed. */ readonly name: string; /** * Test case name. * Uniquely identifies a test case with a string safe to use as an identifier. * Consists of a non-colliding "mangled" identifier for the type. */ readonly testCaseName: string; readonly node: Node; /** * Tags on the type. * @remarks * Does not include the "\@" prefix. */ readonly tags: ReadonlySet; /** * Indicates if this TypeData refer to the named item (false), or the typeof the named item (true). * This is particularly relevant with classes which can have both. */ readonly useTypeof: boolean; } /** * Generate an expression to include into the generated type tests which evaluates to the type to compare. */ export declare function toTypeString(prefix: string, typeData: TypeData, typePreprocessor: string): string; //# sourceMappingURL=typeData.d.ts.map