Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(module division): modules divisions
BREAKING CHANGE: extensions (On, method) are in a separate modules, mockFactory changed interface, name (Provider) and module Importing On, method changed: Before: import { On, method } from "ts-auto-mock"; After: import { On, method } from "ts-auto-mock/extension"; MockFactory changed name, module and interface: Before: import { MockFactory } from "ts-auto-mock"; MockFactory.instance.registerFactory((name: string, value: any) => { ... }); After: import { Provider } from "ts-auto-mock/extension"; Provider.instance.provideMethod((name: string, value: any) => { ... });
- Loading branch information