-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
packages/component/src/providers/ActivityTree/private/useActivityTreeWithRenderer.ts
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,5 +1,7 @@ | ||
// TODO: [P1] #3953 We should fully type it out. | ||
|
||
type DirectLineActivity = any; | ||
// Until we fully typed out DirectLineActivity, we need to use "any" here. | ||
// We only know the DirectLineActivity must be a map, and not other primitive types. | ||
type DirectLineActivity = Exclude<any, [] | boolean | Function | number | string>; | ||
|
||
export type { DirectLineActivity }; |