mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
Remove undefined
In TS by default null and undefined are subtypes of all other types
This commit is contained in:
committed by
GitHub
parent
6ef7a05b77
commit
b522e15352
Vendored
+2
-2
@@ -48,8 +48,8 @@ declare namespace valdr {
|
||||
|
||||
interface ValdrValidationResult {
|
||||
valid: boolean;
|
||||
violations: ValdrViolation[]|undefined;
|
||||
validationResults: ValdrViolation[]|undefined;
|
||||
violations: ValdrViolation[];
|
||||
validationResults: ValdrViolation[];
|
||||
}
|
||||
|
||||
interface Valdr {
|
||||
|
||||
Reference in New Issue
Block a user