Since the TypeScript teams keeps resisting adding separate types for integers and floats for type checking on the basis that runtime does not have them, even though JS has neither types nor interfaces this means it's a documentation problem.
I don't see it documented what happens when you pass 2.5 as an argument and there is no floor/ceil calls in the code
|
* The number of results to return. Defaults to |
|
* the number of items in the `input` list. If fewer items are requested, |
|
* some elements will be excluded from the result. If more items are requested, |
|
* items will be repeated in the result but not more frequently than the number |
|
* of items in the input list. |
|
*/ |
|
readonly resultCount?: pulumi.Input<number>; |
Since the TypeScript teams keeps resisting adding separate types for integers and floats for type checking on the basis that runtime does not have them, even though JS has neither types nor interfaces this means it's a documentation problem.
I don't see it documented what happens when you pass
2.5as an argument and there is no floor/ceil calls in the codepulumi-random/sdk/nodejs/randomShuffle.ts
Lines 176 to 182 in 87a0554