Type each known TLV's value by its tag, on read and on write #30
+1
-1
@@ -89,7 +89,7 @@ const alternates: Record<string, TlvName> = {
|
|||||||
failed_broadcast_area_identifier: 'broadcast_area_identifier',
|
failed_broadcast_area_identifier: 'broadcast_area_identifier',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const tlvs: Record<TlvName, TlvDefinition> & Record<string, TlvDefinition> = specs;
|
export const tlvs: Record<TlvName, TlvDefinition> = specs;
|
||||||
|
|
||||||
export const tlvsById: Record<number, TlvDefinition> = {};
|
export const tlvsById: Record<number, TlvDefinition> = {};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user