Files
tsgo/testdata/baselines/reference/submodule/conformance/jsDeclarationsNonIdentifierInferredNames.symbols
2025-02-26 14:53:49 -08:00

19 lines
966 B
Plaintext

//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsNonIdentifierInferredNames.ts] ////
=== jsDeclarationsNonIdentifierInferredNames.jsx ===
/// <reference path="react16.d.ts" />
import * as React from "react";
>React : Symbol(React, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 1, 6))
const dynPropName = "data-dyn";
>dynPropName : Symbol(dynPropName, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 2, 5))
export const ExampleFunctionalComponent = ({ "data-testid": dataTestId, [dynPropName]: dynProp }) => (
>ExampleFunctionalComponent : Symbol(ExampleFunctionalComponent, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 3, 12))
>dataTestId : Symbol(dataTestId, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 3, 44))
>dynPropName : Symbol(dynPropName, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 2, 5))
>dynProp : Symbol(dynProp, Decl(jsDeclarationsNonIdentifierInferredNames.jsx, 3, 71))
<>Hello</>
);