Skip to content

Commit e80b489

Browse files
authored
fix: export registry as interface instance (#437)
Ensures the doc generation assigns the correct type to the exported variable.
1 parent cab9066 commit e80b489

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Registry implements RegistryInterface {
106106
}
107107
}
108108

109-
export const registry = new Registry()
109+
export const registry: RegistryInterface = new Registry()
110110

111111
const codecs: ProtocolCodec[] = [{
112112
code: CODE_IP4,

0 commit comments

Comments
 (0)