mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
42 lines
3.0 KiB
Diff
42 lines
3.0 KiB
Diff
--- old.transpile/declarationComputedPropertyNames.d.ts
|
|
+++ new.transpile/declarationComputedPropertyNames.d.ts
|
|
@@= skipped -95, +95 lines =@@
|
|
[x: string]: number;
|
|
[x: number]: number;
|
|
[presentNs.a]: number;
|
|
- [aliasing.toStringTag]: number;
|
|
+ [SymbolConstructor.toStringTag]: number;
|
|
1: number;
|
|
"2": number;
|
|
};
|
|
@@= skipped -26, +26 lines =@@
|
|
declarationComputedPropertyNames.ts(50,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
declarationComputedPropertyNames.ts(51,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
declarationComputedPropertyNames.ts(52,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
+declarationComputedPropertyNames.ts(53,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
+declarationComputedPropertyNames.ts(54,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
declarationComputedPropertyNames.ts(55,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
declarationComputedPropertyNames.ts(56,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
declarationComputedPropertyNames.ts(59,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
declarationComputedPropertyNames.ts(60,5): error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
|
|
|
|
-==== declarationComputedPropertyNames.ts (22 errors) ====
|
|
+==== declarationComputedPropertyNames.ts (24 errors) ====
|
|
export namespace presentNs {
|
|
export const a = Symbol();
|
|
~
|
|
@@= skipped -101, +103 lines =@@
|
|
!!! error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
!!! related TS9027 declarationComputedPropertyNames.ts:49:14: Add a type annotation to the variable D.
|
|
[Symbol.iterator]: 1,
|
|
+ ~~~~~~~~~~~~~~~~~
|
|
+!!! error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
+!!! related TS9027 declarationComputedPropertyNames.ts:49:14: Add a type annotation to the variable D.
|
|
[globalThis.Symbol.toStringTag]: 1,
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+!!! error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|
|
+!!! related TS9027 declarationComputedPropertyNames.ts:49:14: Add a type annotation to the variable D.
|
|
[(globalThis.Symbol).unscopables]: 1,
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS9038: Computed property names on class or object literals cannot be inferred with --isolatedDeclarations.
|