The symbol is a primitive data type in TypeScript. In addition to having no properties or immutable methods, a primitive data type is not an object. Similar types to the symbol type include number, string, boolean, etc. The Symbol function Object() { [native code] } is used to produce symbol values.