This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
According to TypeScript, siteId is a required property for the createInstance config parameter #235
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Describe the bug
According to TypeScript, siteId is a required property for the config parameter in
createInstance
while, according to the docs, siteId is optional (whose default value is 1). Given the contradiction, either the TypeScript or the docs are incorrect.To Reproduce
Steps to reproduce the behavior:
createInstance
with{ urlBase: 'https://LINK.TO.DOMAIN' }
siteId
is said to be optionalExpected behavior
TypeScript and the docs live in harmony.
Screenshots
![Screen Shot 2020-09-01 at 12 04 59 AM](https://user-images.githubusercontent.com/8263430/91793846-57b9f980-ebe7-11ea-8842-cd814ca7a21b.png)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: