null is not assignable to type HTMLcanvaselement code example Example: google map Argument of type 'HTMLElement | null' is not assignable to parameter of type 'Element' "strictNullChecks": false,