class TypeScriptDeclareResourceProvider implements ResourceProvider {

    public static String TYPE = "typescript-declare";

    @Override
    public String getType() {
        return TYPE;
    }

    @Override
    public Flux<Resource> getResources() {
        return Flux.empty();
    }

    @Override
    public Flux<Resource> getResources(Collection<String> ids) {<FILL_FUNCTION_BODY>}
}


        return Flux
            .fromIterable(ids)
            .mapNotNull(id -> {
                try {
                    String resource = TypeScriptUtils.loadDeclare(id);
                    if (StringUtils.isEmpty(resource)) {
                        return null;
                    }
                    return SimpleResource.of(
                        id,
                        getType(),
                        resource
                    );
                } catch (Throwable err) {
                    return null;
                }
            });
    
<no_super_class>