!2396 Rectify d.ts file specification

Merge pull request !2396 from 小马奔腾/master
This commit is contained in:
openharmony_ci 2022-08-30 09:47:29 +00:00 committed by Gitee
commit fcfafb8189
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,12 @@
*/
declare namespace process {
/**
* The childprocess object can be used to create a new process.
* @since 7
* @syscap SystemCapability.Utils.Lang
* @systemapi Hide this for inner system use
*/
export interface ChildProcess {
/**
* return pid is the pid of the current process

2
api/@ohos.util.d.ts vendored
View File

@ -305,7 +305,7 @@ declare namespace util {
toString(): string;
}
class LruBuffer {
class LruBuffer<K, V> {
/**
* Default constructor used to create a new LruBuffer instance with the default capacity of 64.
* @since 8