mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-14 17:00: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;
|
export const version = LIB_VERSION;
|
||||||
|
|
||||||
var moduleRef;
|
var moduleRef;
|
||||||
export function init(specUrl:string, options?) {
|
export function init(specUrl:string, options:any = {}) {
|
||||||
if (moduleRef) {
|
if (moduleRef) {
|
||||||
destroy();
|
destroy();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user