diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-06-02 01:13:36 +1000 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-01 11:13:36 -0400 |
commit | d438a6d259f79d1dd98d50ada01debbe24ca5a29 (patch) | |
tree | 04484b78fa46915c25d23547b7beb9f544091a2e /tools/ts_library_builder/test.ts | |
parent | 79f770b178da2d74f10eaa5668b3c3521ab6bb59 (diff) |
Upgrade TypeScript to 3.5.1 (#2437)
Diffstat (limited to 'tools/ts_library_builder/test.ts')
-rw-r--r-- | tools/ts_library_builder/test.ts | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tools/ts_library_builder/test.ts b/tools/ts_library_builder/test.ts index 2b6abe714..d5f9de646 100644 --- a/tools/ts_library_builder/test.ts +++ b/tools/ts_library_builder/test.ts @@ -173,25 +173,24 @@ function buildLibraryMerge(): void { assert.equal(targetSourceFile.getInterfaces().length, 2); const variableDeclarations = targetSourceFile.getVariableDeclarations(); assert.equal(variableDeclarations[0].getType().getText(), `FooBar`); - assert.equal(variableDeclarations[1].getType().getText(), `FooBar`); - assert.equal(variableDeclarations[2].getType().getText(), `moduleC.Bar`); + assert.equal(variableDeclarations[1].getType().getText(), `moduleC.Bar`); assert.equal( - variableDeclarations[3].getType().getText(), + variableDeclarations[2].getType().getText(), `typeof moduleC.qat` ); assert.equal( - variableDeclarations[4].getType().getText(), + variableDeclarations[3].getType().getText(), `typeof moduleE.process` ); assert.equal( - variableDeclarations[5].getType().getText(), + variableDeclarations[4].getType().getText(), `typeof moduleD.reprocess` ); assert.equal( - variableDeclarations[6].getType().getText(), + variableDeclarations[5].getType().getText(), `typeof moduleC.Bar` ); - assert.equal(variableDeclarations.length, 7); + assert.equal(variableDeclarations.length, 6); const typeAliases = targetSourceFile.getTypeAliases(); assert.equal(typeAliases[0].getName(), "Bar"); assert.equal(typeAliases[0].getType().getText(), "moduleC.Bar"); |