3 ms·
But then it should be in the type signature of the object. TypeScript is signalling this as an error because it's a literal passed directly to the function and
by wvenable 7y ago
But then it should be in the type signature of the object. TypeScript is signalling this as an error because it's a literal passed directly to the function and that property (theoretically) can never be used because it wasn't declared.