Re: [web-nfc] NFCReadingEvent has an attribute with a type of dictionary? (#232)

"3.1.2.4 Attribute, Constant, or Exception fields" at https://www.w3.org/TR/api-design/ suggests 

> To correct it, use type any or object and describe in prose that the attribute takes the type of the dictionary.

> EXAMPLE 22

`interface HasRightUsage {
    readonly attribute any dict;
};`

> In your spec, write "dict is of type IAmDictionary dictionary as defined in [REFERENCE]".

Although I'm not sure the document is still valid or not as it seems being last updated in 2012.

-- 
GitHub Notification of comment by leonhsl
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/232#issuecomment-501216778 using your GitHub account

Received on Wednesday, 12 June 2019 10:36:31 UTC