subpath-is-required.ts 167 字节
Newer Older
1
import {Config} from '../../types';
P
Peter Pan 已提交
2 3 4

export const subpathIsRequired = (config: Config, language: string) =>
    typeof config.localeSubpaths?.[language] === 'string';