in kotlin-tanstack-history/karakum/build.gradle.kts [58:82]
fun addTempGenerationFixes() {
sequenceOf(
"BlockerFnArgs.kt",
"CreateBrowserHistoryOpts.kt",
"CreateHashHistoryOpts.kt",
"CreateHistoryOpts.kt",
"CreateMemoryHistoryOpts.kt",
"HistoryLocation.kt",
"NavigateOptions.kt",
"NavigationBlocker.kt",
"ParsedHistoryState.kt",
"ParsedPath.kt",
"SubscriberArgs.kt",
).forEach { jsoPath ->
addFix(jsoPath) {
it.replaceFirst(
"\nexternal interface ",
"\nimport js.objects.JsPlainObject\n\n@JsPlainObject" +
"\nexternal interface ",
)
}
}
}