ms/packages/nukkit/src/index.ts

15 lines
385 B
TypeScript
Raw Normal View History

/// <reference types="@ccms/types/dist/typings/nukkit" />
2020-02-23 20:01:39 +00:00
import { server } from '@ccms/api'
import { Container } from '@ccms/container'
2020-02-23 20:01:39 +00:00
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);
}