mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
422435c0eb
* @vercel-flags » flags * update lockfile * fix name
12 lines
236 B
TypeScript
12 lines
236 B
TypeScript
import { flag } from 'flags/next';
|
|
|
|
export const exampleFlag = flag<boolean>({
|
|
key: 'pages-router-precomputed-example-flag',
|
|
decide() {
|
|
return true;
|
|
},
|
|
options: [false, true],
|
|
});
|
|
|
|
export const exampleFlags = [exampleFlag];
|