Skip to content

Commit

Permalink
fix: drop .d on MapLibreRNStyles.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 15, 2024
1 parent be6d765 commit 63e8dc9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const TEMPLATE_MAPPINGS = [
output: path.join(IOS_OUTPUT_PATH, "MLRNStyle.h"),
},
{
input: path.join(TEMPLATES_PATH, "MapLibreRNStyles.d.ts.ejs"),
output: path.join(JS_OUTPUT_PATH, "types", "MapLibreRNStyles.d.ts"),
input: path.join(TEMPLATES_PATH, "MapLibreRNStyles.ts.ejs"),
output: path.join(JS_OUTPUT_PATH, "types", "MapLibreRNStyles.ts"),
},
{
input: path.join(TEMPLATES_PATH, "MLRNStyle.m.ejs"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ type ExpressionParameters = 'zoom' | 'feature' | 'feature-state' | 'sky-radial-p

type ResolvedImageType = ImageSourcePropType | string;

// @ts-ignore
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export type Value<T, AllowedParameters extends ExpressionParameters[] = []> =
| T
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DO NOT MODIFY
// This file is auto-generated from scripts/templates/MapLibreRNStyles.d.ts.ejs
// This file is auto-generated from scripts/templates/MapLibreRNStyles.ts.ejs

import { type ImageSourcePropType } from "react-native";

Expand Down Expand Up @@ -129,6 +129,7 @@ type ExpressionParameters =

type ResolvedImageType = ImageSourcePropType | string;

// @ts-ignore
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export type Value<T, AllowedParameters extends ExpressionParameters[] = []> =
| T
Expand Down

0 comments on commit 63e8dc9

Please sign in to comment.