Similar to [`getStaticValue`](https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstaticvalue), but only tell the type. For example `` `a${foo}` `` -> `string` `[...foo]` -> `array` `{foo}` -> `object` `!foo` -> `boolean` ... It's useful to make some auto-fix, example Enforce `new Array(foo)` to `Array.from({length: foo})` or `[foo]`, if we can know type of `foo` is `number`, we can auto fix to the first one.