Eslint warning for dangerous use of "as"
I could see that the following code did not trigger any errors or warnings:
type myType = {a:number,b:number}
const myObject = {a:1} as myType
We just had an issue where using "as" caused a production bug, which made me think that there might be an eslint rule that should disallow this. Do you know any such rule?