-
-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix duplicate type error. (#40)
- Loading branch information
1 parent
1ef4315
commit 07fe53d
Showing
2 changed files
with
2 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
/// <reference types="@province-city-china/types" /> | ||
|
||
declare module 'province-city-china/data' { | ||
export const data: ProvinceCityChina.Data[]; | ||
export const province: ProvinceCityChina.Province[]; | ||
export const city: ProvinceCityChina.City[]; | ||
export const area: ProvinceCityChina.Area[]; | ||
export const town: ProvinceCityChina.Town[]; | ||
export const level: ProvinceCityChina.Level[]; | ||
} | ||
|
||
export function sortProvince(arr: ProvinceCityChina.Level[], level?: number): ProvinceCityChina.Level[]; | ||
export function findCityChild(arr: ProvinceCityChina.Level[], code: string, level?: number): ProvinceCityChina.City[]; | ||
export function findAreaChild(arr: ProvinceCityChina.Level[], code: string, level?: number): ProvinceCityChina.Area[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters