mirror of
https://github.com/valitydev/thrift-ts.git
synced 2024-11-06 00:35:23 +00:00
Remove ts nocheck (#8)
This commit is contained in:
parent
f0c895b98d
commit
8ad51230de
@ -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": {
|
||||||
|
@ -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" }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user