What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-08-30 02:52:01
Type 'null' is not assignable to type 'ImageSourcePropType'.
// You can now use the non-null assertion operator that is here exactly // for your use case. // It tells TypeScript that even though something looks like it could // be null, it can trust you that it's not: let name1:string = person.name!; // ... Add solution