Skip to content

Commit 19a7164

Browse files
authored
Typedoc (#319)
* styles: export Theme and Pois interfaces fix CI
1 parent f2de21f commit 19a7164

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/app.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
- name: Check styles
2323
run: npm ci && npm run tsc && npm run check
2424
working-directory: styles
25+
- run: npm ci && npm run tsc && npm run check && npm run build
26+
working-directory: app
2527
- name: Generate styles typedoc
2628
run: npx typedoc src/index.ts --out ../app/dist/typedoc
2729
working-directory: styles
28-
- run: npm ci && npm run tsc && npm run check && npm run build
29-
working-directory: app
3030
- run: python .github/check_examples.py
3131
- uses: peaceiris/actions-gh-pages@v3
3232
if: ${{ github.ref == 'refs/heads/main' }}

styles/src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { LayerSpecification } from "@maplibre/maplibre-gl-style-spec";
22
import { labels_layers, nolabels_layers } from "./base_layers";
33
import { language_script_pairs } from "./language";
4-
import themes, { Theme } from "./themes";
4+
import themes, { Theme, Pois } from "./themes";
55

66
export { language_script_pairs };
7+
export type { Theme, Pois };
78

89
export default function (
910
source: string,

0 commit comments

Comments
 (0)