14 lines
421 B
TypeScript
14 lines
421 B
TypeScript
// @ts-ignore
|
|
import binding from "node-gyp-build";
|
|
import { join } from "node:path";
|
|
import {
|
|
BaseWidgetConstructor,
|
|
MwNativeClasses,
|
|
PixmapConstructor
|
|
} from "./types";
|
|
|
|
export const BaseWidget: BaseWidgetConstructor = binding.BaseWidget;
|
|
export const NativeClasses: MwNativeClasses = binding.Classes;
|
|
export const Pixmap: PixmapConstructor = binding.Pixmap;
|
|
|
|
export default binding(join(__dirname, ".."));
|