Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
update type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeseese committed Feb 16, 2021
1 parent 4b382bf commit f170c08
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/chains/filecoin/types/src/things/file-ref.d.ts
Expand Up @@ -18,16 +18,17 @@ declare type FileRefConfig = {
};
};
};
declare type C = FileRefConfig;
declare class FileRef
extends SerializableObject<C>
implements DeserializedObject<C> {
get config(): Definitions<C>;
extends SerializableObject<FileRefConfig>
implements DeserializedObject<FileRefConfig> {
get config(): Definitions<FileRefConfig>;
constructor(
options?: Partial<SerializedObject<C>> | Partial<DeserializedObject<C>>
options?:
| Partial<SerializedObject<FileRefConfig>>
| Partial<DeserializedObject<FileRefConfig>>
);
path: string;
isCAR: boolean;
}
declare type SerializedFileRef = SerializedObject<C>;
declare type SerializedFileRef = SerializedObject<FileRefConfig>;
export { FileRef, SerializedFileRef };

0 comments on commit f170c08

Please sign in to comment.