Skip to content

Commit

Permalink
Explicit references to ambient module declaration files
Browse files Browse the repository at this point in the history
Without these, projects using the output modules did not automatically pick up the typescript declarations.
  • Loading branch information
Whathecode committed Feb 22, 2024
1 parent 9921f04 commit 81fab12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions typescript-declarations/carp-kotlin/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="kotlin-kotlin-stdlib.d.ts" />
import extend from "@cachet/kotlin-kotlin-stdlib"


Expand Down
1 change: 1 addition & 0 deletions typescript-declarations/carp-kotlinx-datetime/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="Kotlin-DateTime-library-kotlinx-datetime-js-ir.d.ts" />
import extend from "@cachet/Kotlin-DateTime-library-kotlinx-datetime-js-ir"


Expand Down
2 changes: 2 additions & 0 deletions typescript-declarations/carp-kotlinx-serialization/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference path="kotlinx-serialization-kotlinx-serialization-core.d.ts" />
/// <reference path="kotlinx-serialization-kotlinx-serialization-json.d.ts" />
import extendCore from "@cachet/kotlinx-serialization-kotlinx-serialization-core"
import extendJson from "@cachet/kotlinx-serialization-kotlinx-serialization-json"

Expand Down

0 comments on commit 81fab12

Please sign in to comment.