chore(angular): update Config deprecation message (#19908)

* update deprecation msg

* add exact release
This commit is contained in:
Liam DeBeasi
2019-11-14 11:30:25 -05:00
committed by GitHub
parent 768e3ae2cf
commit 407db752a0

View File

@ -33,7 +33,7 @@ export class Config {
} }
set(key: keyof IonicConfig, value?: any) { set(key: keyof IonicConfig, value?: any) {
console.warn(`[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in the next major release.`); console.warn(`[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.`);
const c = getConfig(); const c = getConfig();
if (c) { if (c) {
c.set(key, value); c.set(key, value);