Remove ts nocheck (#8)

This commit is contained in:
Rinat Arsaev 2022-07-13 14:13:55 +03:00 committed by GitHub
parent f0c895b98d
commit 8ad51230de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@vality/thrift-ts", "name": "@vality/thrift-ts",
"version": "2.3.1", "version": "2.4.0",
"description": "parse .thrift file to .d.ts", "description": "parse .thrift file to .d.ts",
"main": "./lib/index.js", "main": "./lib/index.js",
"scripts": { "scripts": {

View File

@ -99,9 +99,8 @@ class Compile extends BaseCompiler {
this.definition ? "_types.d.ts" : ".ts" this.definition ? "_types.d.ts" : ".ts"
}`; }`;
// TODO: ts-nocheck temporary solution for building projects with importing dependencies from the wrong protocol (may happen when merging protocols)
const content = prettier.format( const content = prettier.format(
"// @ts-nocheck\n" + "// tslint:disable\n" + this.buffer.join(""), "// tslint:disable\n" + this.buffer.join(""),
{ parser: "typescript" } { parser: "typescript" }
); );