ms/packages/nukkit/src/index.ts

15 lines
379 B
TypeScript
Raw Normal View History

2020-02-23 20:01:39 +00:00
/// <reference types="@ms/types/dist/typings/nukkit" />
import { server } from '@ms/api'
2020-02-23 20:01:39 +00:00
import { Container } from '@ms/container'
import { NukkitConsole } from './console';
import './event';
import './server';
import './command';
import './task';
2020-02-23 20:01:39 +00:00
export default function NukkitImpl(container: Container) {
container.bind(server.Console).toConstantValue(NukkitConsole);
}