@hero-design/snowflake-guard
Version:
A hero-design bot detecting snowflake usage
16 lines (15 loc) • 561 B
TypeScript
import { InlineStyleProps } from './reports/mobile/reportInlineStyle';
import type { CompoundMobileComponentName } from './reports/mobile/types';
declare const parseMobileSource: (source: string) => {
styleLocs: number[];
styledComponentLocs: number[];
approvedLocs: number[];
violatingAttributes: {
attributeName: string;
attributeValue: string | null;
inlineStyleProps: InlineStyleProps;
componentName: CompoundMobileComponentName;
loc: number | undefined;
}[];
};
export default parseMobileSource;