better documentation

This commit is contained in:
Jacob Nguyen
2024-06-30 17:34:55 -05:00
parent 14e80016da
commit 3128b441c5
2 changed files with 257 additions and 268 deletions

View File

@@ -56,7 +56,8 @@ export { type CoreDependencies, makeDependencies, single, transient, Service, Se
import type { Container } from '@sern/ioc';
/**
* @deprecated This old signature will be incompatible with future versions of sern.
* @deprecated This old signature will be incompatible with future versions of sern >= 4.0.0. See {@link makeDependencies}
* @example
* ```ts
* To switch your old code:
await makeDependencies(({ add }) => {