mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
default value for options
This commit is contained in:
parent
3a175d47fb
commit
158bd29b9b
|
@ -16,7 +16,7 @@ if (IS_PRODUCTION) {
|
|||
export const version = LIB_VERSION;
|
||||
|
||||
var moduleRef;
|
||||
export function init(specUrl:string, options?) {
|
||||
export function init(specUrl:string, options:any = {}) {
|
||||
if (moduleRef) {
|
||||
destroy();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user