mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 10:21:55 +00:00
chore: Better error message for type
This commit is contained in:
@@ -16,7 +16,7 @@ type Daemon<Ids extends string, Command extends string, Id extends string> = {
|
|||||||
requires: Exclude<Ids, Id>[]
|
requires: Exclude<Ids, Id>[]
|
||||||
}
|
}
|
||||||
|
|
||||||
type ErrorDuplicateId<Id extends string> = `The id "${Id}" is already used`
|
type ErrorDuplicateId<Id extends string> = `The id '${Id}' is already used`
|
||||||
/**
|
/**
|
||||||
* Used during the main of a function, it allows us to describe and ensure a set of daemons are running.
|
* Used during the main of a function, it allows us to describe and ensure a set of daemons are running.
|
||||||
* With the dependency, we are using this like an init system, where we can ensure that a daemon is running
|
* With the dependency, we are using this like an init system, where we can ensure that a daemon is running
|
||||||
|
|||||||
Reference in New Issue
Block a user