(langId: string, prefix: string)
| 207 | } |
| 208 | |
| 209 | getKeysStartingWith(langId: string, prefix: string): string[] { |
| 210 | const keys = new Set<string>(getKeysStartingWith(langId, prefix)); |
| 211 | const sourceData = (this.ceProps as PropFunc)._sourceData; |
| 212 | if (sourceData) { |
| 213 | for (const key of Object.keys(sourceData)) { |
| 214 | if (key.startsWith(prefix)) { |
| 215 | keys.add(key); |
| 216 | } |
| 217 | } |
| 218 | } |
| 219 | return [...keys]; |
| 220 | } |
| 221 | |
| 222 | $getInternal(base: string, property: string, defaultValue: undefined): PropertyValue; |
| 223 | $getInternal<T extends PropertyValue>(base: string, property: string, defaultValue: Widen<T>): typeof defaultValue; |
no test coverage detected