INNER CODE UNIT · TypeScript
imageResource
nut-tree/nut.js · core/nut.js/index.ts:64
const imageResource = (fileName: string) =>
loadImageResource(
providerRegistry,
screen.config.resourceDirectory,
fileName
);
const singleWord = (word: string): WordQuery => {
return {
type: "text",
id: `word-query-${word}`,
by: {
word
}
};
};
const textLine = (line: string): LineQuery => {
return {