Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/isolatedDeclarationErrorsExpressions.errors.txt.diff

31 lines
1.8 KiB
Diff

--- old.isolatedDeclarationErrorsExpressions.errors.txt
+++ new.isolatedDeclarationErrorsExpressions.errors.txt
@@= skipped -47, +47 lines =@@
isolatedDeclarationErrorsExpressions.ts(115,37): error TS9011: Parameter must have an explicit type annotation with --isolatedDeclarations.
isolatedDeclarationErrorsExpressions.ts(116,37): error TS9011: Parameter must have an explicit type annotation with --isolatedDeclarations.
isolatedDeclarationErrorsExpressions.ts(119,36): error TS9011: Parameter must have an explicit type annotation with --isolatedDeclarations.
-isolatedDeclarationErrorsExpressions.ts(127,16): error TS9019: Binding elements can't be exported directly with --isolatedDeclarations.
-isolatedDeclarationErrorsExpressions.ts(128,19): error TS9019: Binding elements can't be exported directly with --isolatedDeclarations.
-
-
-==== isolatedDeclarationErrorsExpressions.ts (52 errors) ====
+isolatedDeclarationErrorsExpressions.ts(128,19): error TS9019: Binding elements with initializers can't be exported directly with --isolatedDeclarations.
+
+
+==== isolatedDeclarationErrorsExpressions.ts (51 errors) ====
declare function time(): bigint
export const numberConst = 1;
export const numberConstBad1 = 1 + 1;
@@= skipped -282, +281 lines =@@
export const { a } = { a: 1 };
- ~
-!!! error TS9019: Binding elements can't be exported directly with --isolatedDeclarations.
export const [, , b = 1]: [number, number, number | undefined] = [0, 1, 2];
~
-!!! error TS9019: Binding elements can't be exported directly with --isolatedDeclarations.
+!!! error TS9019: Binding elements with initializers can't be exported directly with --isolatedDeclarations.
export function foo([, , b]: [
number,