oxc/crates/oxc_isolated_declarations/tests/fixtures/non-exported-binding-elements.ts
overlookmotel dc924892cc test: add trailing line breaks to conformance fixtures (#5541)
Continuation of #5537. Ensure all conformance fixture files have a trailing line break.
2024-09-06 12:55:17 +00:00

12 lines
211 B
TypeScript

// Correct
const [A, B] = [1, 2, 3];
export function foo(): number {
return A;
}
// Incorrect
const { c, d } = { c: 1, d: 2 };
const [ e ] = [4];
export { c, d, e }
export const { f, g } = { f: 5, g: 6 };