Skip to content

Instantly share code, notes, and snippets.

@kaplan81
Last active December 28, 2018 15:27
Show Gist options
  • Save kaplan81/cca806c57f2ff83b24c99f18f15c7d61 to your computer and use it in GitHub Desktop.
Save kaplan81/cca806c57f2ff83b24c99f18f15c7d61 to your computer and use it in GitHub Desktop.
export enum NavBase {
empty = '',
root = '/',
wildcard = '**'
}
export enum NavPath {
path1 = 'path1',
path2 = 'path2',
path3 = 'path3'
}
export type NavPathET = keyof typeof NavPath;
export enum NavText {
text1 = 'text1',
text2 = 'text2',
text3 = 'text3'
}
export type NavTextET = keyof typeof NavText;
export enum NavParams {
param1,
param2,
param3,
}
export type NavParamsET = keyof typeof NavParams;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment