• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Resource Scheduler Subsystem Changelog
2
3## cl.resourceschedule.workScheduler
4The data type of the **parameters** attribute value is changed. Specifically, the number, string, and boolean types are supported, but the any type is not.
5
6**Change Impact**
7
8For applications developed based on OpenHarmony3.2.10.7 and later SDK versions, the **parameters** attribute value can use the number, string, and boolean types only. If it uses the any type, a compilation error is reported.
9
10**Key API/Component Changes**
11
12The **parameters** attribute in @ohos.resourceschedule.workScheduler.d.ts is changed.
13
14| Class| API Type| Statement Before the Change| Statement After the Change|
15|  -- | -- | -- | -- |
16| workScheduler.WorkInfo | field | parameters?: {[key: string]: any} | parameters?: {[key: string]: number | string | boolean} |
17
18
19**Adaptation Guide**
20
21The **parameters** attribute uses the {[key: string]: number | string | boolean} data type.
22