File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -702,9 +702,21 @@ declare var hljs: any;
702702declare var MathJax : any ;
703703// DOMPurify lib, TODO: types
704704declare var DOMPurify : any ;
705- // Sefaria Linker (no known types)
705+ // Sefaria Linker (no known types), see https://developers.sefaria.org/docs/linker-v2
706706declare var sefaria : {
707- link : ( ) => void
707+ link : ( options ?: {
708+ contentLang ?: 'bilingual' | 'english' | 'hebrew' ,
709+ dynamic ?: boolean ,
710+ excludeFromLinking ?: string ,
711+ excludeFromTracking ?: string ,
712+ hidePopupsOnMobile ?: boolean ,
713+ interfaceLang ?: 'english' | 'hebrew' ,
714+ mode ?: 'link' | 'popup-click' ,
715+ parenthesesOnly ?: boolean ,
716+ popupStyles ?: Record < string , string > ,
717+ selector ?: string ,
718+ quotationOnly ?: boolean
719+ } ) => void
708720} | undefined ;
709721declare var QPixel : QPixel ;
710722
You can’t perform that action at this time.
0 commit comments