mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Remove type from Alert.alert (#34881)
As can be seen from the function signature, the `Alert.alert` function does not accept the `type` argument.
This commit is contained in:
Vendored
+1
-1
@@ -7087,7 +7087,7 @@ interface AlertOptions {
|
||||
* ```
|
||||
*/
|
||||
export interface AlertStatic {
|
||||
alert: (title: string, message?: string, buttons?: AlertButton[], options?: AlertOptions, type?: string) => void;
|
||||
alert: (title: string, message?: string, buttons?: AlertButton[], options?: AlertOptions) => void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user