Re: [w3c/payment-handler] PaymentRequestEvent.total (#175)

Hi all,

Here's some guidance from a draft WebIDL cookbook [1]:

===
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]". 
=====

Ian

[1] http://darobin.github.io/api-design-cookbook/#attribute-constant-or-exception-fields

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/issues/175#issuecomment-307188367

Received on Thursday, 8 June 2017 18:29:59 UTC