Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move remaining platform bits into dioc v3 style
- Loading branch information
1 parent
d48196e
commit 5587248
Showing
7 changed files
with
17 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { Service } from "dioc" | ||
import { Container, ServiceClassInstance } from "dioc" | ||
import { SpotlightSearcher } from "~/services/spotlight" | ||
|
||
export type SpotlightPlatformDef = { | ||
additionalSearchers?: Array< | ||
typeof Service<unknown> & { ID: string } & { | ||
new (): Service & SpotlightSearcher | ||
ServiceClassInstance<unknown> & { | ||
new (c: Container): SpotlightSearcher | ||
} | ||
> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters