Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
TypeScript
/
satisfies operator
Under TypeScript 6 strict checking, which statement about this declaration is correct?
from satisfies operator
TypeScript 6
intermediate
1 min
Under TypeScript 6 strict checking, which statement about this declaration is correct?
The variable has exactly the type Settings.
mode retains "safe", retries is number, and omitted optional target properties are not added.
Every property retains its exact primitive literal value.
The object becomes readonly at compile time and frozen at runtime.
Check
Ask AI about this kata
Report an error
next kata
Why is JSON.parse(raw) satisfies Settings not runtime validation?
Quiz
A new version is available
Reload