Просмотр исходного кода

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 лет назад
Родитель
Сommit
7619af0872
1 измененных файлов с 1 добавлено и 2 удалено
  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")