eslint-plugin-total-functions
eslint-plugin-total-functions copied to clipboard
perf: ignore strings (and other built in types?) in isUnsafePropertyAssignment
We already bail out early if the type in question is an array. We should do the same for strings, which are only ever immutable.
We might get a good perf boost out of ignoring other types too: number, bool, symbol, etc.