diff --git a/index.ts b/index.ts index 5dd425c..876f240 100644 --- a/index.ts +++ b/index.ts @@ -5,4 +5,5 @@ export { CommandOption } from './src/classes/CommandOption'; export { SubcommandGroupOption } from './src/classes/SubcommandGroupOption'; export { SubcommandOption } from './src/classes/SubcommandOption'; -export { IResolver } from './src/interfaces/Resolver'; \ No newline at end of file +export { IResolver } from './src/interfaces/Resolver'; +export { OptionType } from './src/interfaces/CommandOption'; \ No newline at end of file diff --git a/package.json b/package.json index dafd2ce..aed7f8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "commandparser", - "version": "1.0.9", + "version": "1.0.12", "description": "Parser meant to parse commands and their options for discord bots", "main": "build/index.js", "author": "Navy.gif", diff --git a/tsconfig.json b/tsconfig.json index f448ed2..17a7124 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,7 +25,7 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "module": "AMD", // "rootDir": "./", /* Specify the root folder within your source files. */ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */