Showing strange typescript errors #11729
-
Well the story is like, everything went perfectly so I merged it (there were no typescript errors). example case: const latest_episodes_mapping: {
loaded: boolean;
}[] = $state(latest_episodes.map(() => ({
loaded: false
}))); {#each latest_episodes as episode, index}
{@const image_loaded = latest_episodes_mapping[index].loaded}
... I DONT GET why its not working here but worked there. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The TS config contains |
Beta Was this translation helpful? Give feedback.
The TS config contains
"noUncheckedIndexedAccess": true
since commit baseplate-admin/coreproject-v4-ui@11994f2If you branched before said commit, then of course there will not be issues on the branch.
(Commit was yesterday, your PR two days ago.)