mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ts: Convert emoji.js
to TypeScript.
Converted `emoji.js` to TypeScript by adding relevant type definitions, also modified `target` option in our tsconfig to 'ESNext' so that types for object methods like `hasOwn` which is being used in `emoji.js` are included.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
/* Basic options */
|
||||
"noEmit": true,
|
||||
"target": "ES2020",
|
||||
"target": "ESNext",
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
|
Reference in New Issue
Block a user