type-genius
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -210,3 +210,9 @@ "use strict"; | ||
if (options === null || options === void 0 ? void 0 : options.returnFileString) { | ||
return fileString; | ||
var specialStringInterfaceConfigReturn = { | ||
string: fileString, | ||
typesConfig: {}, | ||
interfaceName: "Full File String", | ||
}; | ||
// Return type will always be an array of InterfaceConfigs | ||
return [specialStringInterfaceConfigReturn]; | ||
} | ||
@@ -213,0 +219,0 @@ // Write the file using that string |
{ | ||
"name": "type-genius", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -270,3 +270,9 @@ import { writeFile } from "fs"; | ||
if (options?.returnFileString) { | ||
return fileString; | ||
const specialStringInterfaceConfigReturn: InterfaceConfig = { | ||
string: fileString, | ||
typesConfig: {}, | ||
interfaceName: "Full File String", | ||
}; | ||
// Return type will always be an array of InterfaceConfigs | ||
return [specialStringInterfaceConfigReturn]; | ||
} | ||
@@ -273,0 +279,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30947
733