'unknown' type for result in dialog service
This commit is contained in:
parent
8931369d14
commit
2a01789982
@ -49,7 +49,7 @@ export abstract class DialogService<T extends string> {
|
||||
data,
|
||||
});
|
||||
|
||||
const fn = async result => {
|
||||
const fn = async (result: unknown) => {
|
||||
if (result && cb) {
|
||||
await cb(result);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user