fix: missing "default" export in module "data.yml" (#20094)

This commit is contained in:
familyboat
2025-06-01 05:55:15 +08:00
committed by GitHub
parent 3c37f25b65
commit 082a9cb59c

View File

@@ -102,7 +102,7 @@ Once the plugin is registered, `.yaml` and `.yml` files can be directly imported
{% codetabs %}
```ts#index.ts
import data from "./data.yml"
import * as data from "./data.yml"
console.log(data);
```