Prechádzať zdrojové kódy

removed the directive to disable tslint from the top of the generated d.ts files. The d.ts files are not currently being linted, but if they were, nothing would get caught with this directive in place.

Shaddock Heath 10 rokov pred
rodič
commit
7619af0872
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      Source/ToolCore/JSBind/JSBTypeScript.cpp

+ 1 - 2
Source/ToolCore/JSBind/JSBTypeScript.cpp

@@ -75,8 +75,7 @@ String JSBTypeScript::GetScriptType(JSBFunctionType* ftype)
 
 void JSBTypeScript::Begin()
 {
-    source_ += "//Atomic TypeScript Definitions\n";
-    source_ += "/* tslint:disable */\n\n\n";
+    source_ += "//Atomic TypeScript Definitions\n\n\n";
 
 
     if (package_->GetName() != "Atomic")