Skip to content

Commit

Permalink
add symbol and bigint prim types (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette authored Sep 25, 2023
1 parent 0da9884 commit df04ee2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/clojure/cljs/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -1304,18 +1304,23 @@
{nil "null"
'object "object"
'string "string"
'symbol "symbol"
'number "number"
'bigint "bigint"
'array "array"
'function "function"
'boolean "boolean"
'default "_"})

;; only used for generating warnings when extending fundamental JS types
(def ^:private js-base-type
{'js/Boolean "boolean"
'js/String "string"
'js/Symbol "symbol"
'js/Array "array"
'js/Object "object"
'js/Number "number"
'js/BigInt "bigint"
'js/Function "function"})

(core/defmacro reify
Expand Down

0 comments on commit df04ee2

Please sign in to comment.