hel-tpl-remote-lib
Version:
基于[hel-micro](https://github.com/tnfe/hel)搭建的远程仓库模板库
18 lines (12 loc) • 378 B
text/typescript
import type { LibProperties } from './libProperties';
import { exposeLib } from 'hel-lib-proxy';
import { LIB_NAME } from '../configs/subApp';
export const lib = exposeLib<LibProperties>(LIB_NAME);
// suport writing: import { regs, num, myMod } from 'hel-tpl-remote-lib';
export const {
regs,
num,
myMod,
} = lib;
export type Lib = LibProperties;
export default lib;