BenDMyers / serverless-contrast-starter

4 stars 2 forks source link

fix parenthesis in jsdoc @type #1

Closed wommy closed 2 years ago

wommy commented 2 years ago

https://github.com/BenDMyers/serverless-contrast-starter/blob/74003a3c8f0bec7893ab5f44f3cb9e5c939f5bcb/.eleventy.js#L4

seems like theres one too many closing parentheses before the arrow? EleventyConfig)) => EleventyReturnValue

i dont know much about TS so imma just stay outta this one

wommy commented 2 years ago

of course i find the documentation one minute after i post

https://github.com/11ty/eleventy/discussions/2089#discussioncomment-1647706

im still leaning towards it being a typo

BenDMyers commented 2 years ago

Good catch - thank you @wommy! Fixed in c5644182a0fb1898e55c456e37a8fe8d4afc04b0

wommy commented 2 years ago

he even added a shorter version!

still waiting to hear back if its rock-solid