( config: ResolvedConfig, type: keyof FutureOptions, )
| 42 | let _ignoreDeprecationWarnings = false |
| 43 | |
| 44 | export function isFutureDeprecationEnabled( |
| 45 | config: ResolvedConfig, |
| 46 | type: keyof FutureOptions, |
| 47 | ): boolean { |
| 48 | return !!config.future?.[type] |
| 49 | } |
| 50 | |
| 51 | // Later we could have a `warnDeprecation` utils when the deprecation is landed |
| 52 | /** |
no outgoing calls
no test coverage detected