Modity the systemapi for RestrictedWorker.

issue: https://gitee.com/openharmony/interface_sdk-js/issues/IARP5D

Signed-off-by: Han <yqhanj@isoftstone.com>
This commit is contained in:
Han 2024-09-18 09:50:47 +08:00 committed by hyq5234
parent 42fe88342c
commit eb89619641

View File

@ -2125,7 +2125,7 @@ declare namespace worker {
*
* @extends ThreadWorker
* @syscap SystemCapability.Utils.Lang
* @atomicservice
* @systemapi
* @since 12
*/
class RestrictedWorker extends ThreadWorker {
@ -2155,7 +2155,7 @@ declare namespace worker {
* @throws { BusinessError } 10200003 - Worker initialization failure.
* @throws { BusinessError } 10200007 - The worker file patch is invalid path.
* @syscap SystemCapability.Utils.Lang
* @atomicservice
* @systemapi
* @since 12
*/
constructor(scriptURL: string, options?: WorkerOptions);