diff --git a/tests/specs/references/class/constructorsWithSpread.d.ts b/tests/specs/references/class/constructorsWithSpread.d.ts index cb0d987..17323ce 100644 --- a/tests/specs/references/class/constructorsWithSpread.d.ts +++ b/tests/specs/references/class/constructorsWithSpread.d.ts @@ -1,5 +1,5 @@ export class Logger { constructor() - constructor(...args: string) + constructor(...args: string[]) } diff --git a/tests/specs/references/class/constructorsWithSpread.fsx b/tests/specs/references/class/constructorsWithSpread.fsx index 1de512f..d12d1f0 100644 --- a/tests/specs/references/class/constructorsWithSpread.fsx +++ b/tests/specs/references/class/constructorsWithSpread.fsx @@ -9,7 +9,7 @@ type Exports = [] static member Logger () : Logger = nativeOnly [] - static member Logger ([] args: string []) : Logger = nativeOnly + static member Logger ([] args: ResizeArray []) : Logger = nativeOnly [] [] diff --git a/tests/specs/references/class/propertyDeclaration/emitCodeShouldUseOriginalName.d.ts b/tests/specs/references/class/propertyDeclaration/emitCodeShouldUseOriginalName.d.ts index 33aea20..b5690e4 100644 --- a/tests/specs/references/class/propertyDeclaration/emitCodeShouldUseOriginalName.d.ts +++ b/tests/specs/references/class/propertyDeclaration/emitCodeShouldUseOriginalName.d.ts @@ -1,4 +1,4 @@ -declare class Fuse { +export declare class Fuse { // member is a reserved word in F# and should emit as ``member`` for the F# code // but as `member` for the emitted JS code static member: string diff --git a/tests/specs/references/class/propertyDeclaration/instanceProperty.d.ts b/tests/specs/references/class/propertyDeclaration/instanceProperty.d.ts index 23de410..127004d 100644 --- a/tests/specs/references/class/propertyDeclaration/instanceProperty.d.ts +++ b/tests/specs/references/class/propertyDeclaration/instanceProperty.d.ts @@ -1,3 +1,3 @@ -declare class Fuse { +export declare class Fuse { public version: string } diff --git a/tests/specs/references/class/propertyDeclaration/staticProperty.d.ts b/tests/specs/references/class/propertyDeclaration/staticProperty.d.ts index b166cdf..e591d95 100644 --- a/tests/specs/references/class/propertyDeclaration/staticProperty.d.ts +++ b/tests/specs/references/class/propertyDeclaration/staticProperty.d.ts @@ -1,3 +1,3 @@ -declare class Fuse { +export declare class Fuse { static version: string } diff --git a/tests/specs/references/class/propertyDeclaration/staticPropertyReadOnly.d.ts b/tests/specs/references/class/propertyDeclaration/staticPropertyReadOnly.d.ts index ca41fa0..c3a821a 100644 --- a/tests/specs/references/class/propertyDeclaration/staticPropertyReadOnly.d.ts +++ b/tests/specs/references/class/propertyDeclaration/staticPropertyReadOnly.d.ts @@ -1,3 +1,3 @@ declare class Fuse { - static readonly public version: string + public static readonly version: string } diff --git a/tests/specs/references/intersectionType/withInterfaceInNamespace.d.ts b/tests/specs/references/intersectionType/withInterfaceInNamespace.d.ts index 38aab0f..1775fea 100644 --- a/tests/specs/references/intersectionType/withInterfaceInNamespace.d.ts +++ b/tests/specs/references/intersectionType/withInterfaceInNamespace.d.ts @@ -2,11 +2,11 @@ interface ArtworksData { artworks: string[]; } -namespace Error { +export namespace Error { export interface ErrorHandling { success: boolean; error?: string; } } -type ArtworksResponse = ArtworksData & Error.ErrorHandling; +export type ArtworksResponse = ArtworksData & Error.ErrorHandling;