Commit 19a16637 authored by 曾思程's avatar 曾思程

进行类型导出重构

parent cc0c8611
......@@ -4,4 +4,5 @@ import { Jensen } from './src/jensen';
export * from './type'
export default Jensen;
......@@ -18,8 +18,7 @@ export type FileInfo = {
signature: string;
};
declare module jensenType {
class Jensen {
export declare class Jensen {
constructor(log: typeof Logger)
onconnect: Function;
onmessage: (data: any) => void | null;
......@@ -87,7 +86,5 @@ declare module jensenType {
state: boolean,
seconds?: number
) => Promise<ReturnStruct['common']>;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment