Improve type safety by using more specific function types
This commit is contained in:
parent
2e69043274
commit
d8f549d6d8
9 changed files with 21 additions and 14 deletions
|
|
@ -233,14 +233,14 @@ export interface BetterResolveLanguagesOutput {
|
|||
export interface ResolveQueriesOutput {
|
||||
byLanguage: {
|
||||
[language: string]: {
|
||||
[queryPath: string]: {};
|
||||
[queryPath: string]: object;
|
||||
};
|
||||
};
|
||||
noDeclaredLanguage: {
|
||||
[queryPath: string]: {};
|
||||
[queryPath: string]: object;
|
||||
};
|
||||
multipleDeclaredLanguages: {
|
||||
[queryPath: string]: {};
|
||||
[queryPath: string]: object;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue