diff --git a/src/factory.ts b/src/factory.ts index 26f52d9..b53c634 100755 --- a/src/factory.ts +++ b/src/factory.ts @@ -1,4 +1,4 @@ -import { CreateEngineOptions, EnvironmentVariables } from "./types"; +import { CreateEngineOptions, EnvironmentVariables } from './types' import LuaEngine from './engine' import LuaWasm from './luawasm' // A rollup plugin will resolve this to the current version on package.json diff --git a/src/global.ts b/src/global.ts index 50de37e..596aeed 100755 --- a/src/global.ts +++ b/src/global.ts @@ -98,11 +98,11 @@ export default class Global extends Thread { // To allow library users to specify custom types // Higher is more important and will be evaluated first. /** - * Registers a type extension for Lua objects. + * Registers a type extension for Lua objects. * Higher priority is more important and will be evaluated first. - * @param {number} priority - Priority of the type extension. - * @param {LuaTypeExtension} extension - The type extension to register. - */ + * @param {number} priority - Priority of the type extension. + * @param {LuaTypeExtension} extension - The type extension to register. + */ public registerTypeExtension(priority: number, extension: LuaTypeExtension): void { this.typeExtensions.push({ extension, priority }) this.typeExtensions.sort((a, b) => b.priority - a.priority) diff --git a/src/types.ts b/src/types.ts index e0b2c5d..f3d41ff 100755 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,4 @@ -import LuaEngine from "./engine"; +import LuaEngine from './engine' export type LuaState = number