Przeglądaj źródła

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 lat temu
rodzic
commit
7619af0872
1 zmienionych plików z 1 dodań i 2 usunięć
  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")