No explicit any
This commit is contained in:
@@ -10,13 +10,13 @@ export const parseDescriptionDefault = (reg: Register, description: string) => {
|
||||
// Footnote multiline state
|
||||
let inFootnote = false;
|
||||
let footnoteBaseIndent = 0;
|
||||
let footnoteTarget: 'global' | 'access' | null = null;
|
||||
// let footnoteTarget: 'global' | 'access' | null = null;
|
||||
let currentFootnote: Note | null = null;
|
||||
|
||||
const endFootnoteIfActive = () => {
|
||||
inFootnote = false;
|
||||
footnoteBaseIndent = 0;
|
||||
footnoteTarget = null;
|
||||
// footnoteTarget = null;
|
||||
currentFootnote = null;
|
||||
};
|
||||
|
||||
@@ -89,10 +89,10 @@ export const parseDescriptionDefault = (reg: Register, description: string) => {
|
||||
const note: Note = { ref: noteMatch[1], text: noteMatch[2] };
|
||||
if (currentAccess) {
|
||||
accessData.notes.push(note);
|
||||
footnoteTarget = 'access';
|
||||
// footnoteTarget = 'access';
|
||||
} else {
|
||||
reg.notes.push(note);
|
||||
footnoteTarget = 'global';
|
||||
// footnoteTarget = 'global';
|
||||
}
|
||||
currentFootnote = note;
|
||||
inFootnote = true;
|
||||
|
||||
Reference in New Issue
Block a user